<?php
/**
 *
 * IndexController.php
 * User: kalvin
 * Date: 2018/1/24
 * Time: 下午3:20
 */

namespace App\Controller;



use App\Entity\Admin;
use core\lib\Controller;

class IndexController extends Controller
{
    public function showIndex()
    {

        $res=new Admin();
        $res=$res->getOne();
        return $this->view('back.index',$res);
    }
}